<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var i=0;
			var sum=0;
			while(i<=100){
				if(i%2==0){
					sum=sum+i;
				}
				i++;
			}
			alert(sum);
		</script>
	</body>
</html>
